################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include emlib/subdir.mk
-include CMSIS/efm32hg/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 

# All Target
all: SLSTK3400A_bootloader.axf

# Tool invocations
SLSTK3400A_bootloader.axf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: GNU ARM C Linker'
	arm-none-eabi-gcc -g -gdwarf-2 -mcpu=cortex-m0plus -mthumb -T "SLSTK3400A_bootloader.ld" -Xlinker --gc-sections -Xlinker -Map="SLSTK3400A_bootloader.map" --specs=nano.specs -o SLSTK3400A_bootloader.axf "./src/aes.o" "./src/aes_keys.o" "./src/boot.o" "./src/bootloader.o" "./src/crc.o" "./src/debuglock.o" "./src/flash.o" "./src/uart.o" "./src/verify.o" "./src/xmodem.o" "./emlib/em_assert.o" "./emlib/em_cmu.o" "./emlib/em_emu.o" "./emlib/em_gpio.o" "./emlib/em_int.o" "./emlib/em_msc.o" "./emlib/em_system.o" "./emlib/em_usart.o" "./CMSIS/efm32hg/startup_efm32hg.o" "./CMSIS/efm32hg/system_efm32hg.o" -Wl,--start-group -lgcc -lc -lnosys -Wl,--end-group
	@echo 'Finished building target: $@'
	@echo ' '

	@echo 'Building hex file: SLSTK3400A_bootloader.hex'
	arm-none-eabi-objcopy -O ihex "SLSTK3400A_bootloader.axf" "SLSTK3400A_bootloader.hex"
	@echo ' '

	@echo 'Building bin file: SLSTK3400A_bootloader.bin'
	arm-none-eabi-objcopy -O binary "SLSTK3400A_bootloader.axf" "SLSTK3400A_bootloader.bin"
	@echo ' '

	@echo 'Running size tool'
	arm-none-eabi-size "SLSTK3400A_bootloader.axf"
	@echo ' '

# Other Targets
clean:
	-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) SLSTK3400A_bootloader.axf
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
